package com.suny.sf_server.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.suny.DataDicVal.DataDicVal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suny.DataDicVal.dto.DataDicValQueryDTO;
import com.suny.DataDicVal.vo.DataDicValVO;
import org.apache.ibatis.annotations.Param;

/**
* @author sun
* @description 针对表【data_dic_val(数据字典值表)】的数据库操作Mapper
* @createDate 2024-12-27 10:45:10
* @Entity DataDicVal.suny.com.DataDicVal
*/
@Mapper
public interface DataDicValMapper extends BaseMapper<DataDicVal> {
    /**
     * 分页查询字典值列表
     */
    IPage<DataDicValVO> selectDataDicValVOPage(IPage<DataDicVal> page);

    /**
     * 条件查询字典值列表
     */
    IPage<DataDicValVO> selectDataDicValVOPageByCondition(
        @Param("page") IPage<DataDicVal> page, 
        @Param("query") DataDicValQueryDTO query
    );
}




